home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Tcl-Tk 8.0 / Pre-installed version / tcl8.0 / generic / tclMath.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-15  |  733 b   |  28 lines  |  [TEXT/CWIE]

  1. /*
  2.  * tclMath.h --
  3.  *
  4.  *    This file is necessary because of Metrowerks CodeWarrior Pro 1
  5.  *    on the Macintosh. With 8-byte doubles turned on, the definitions of
  6.  *    sin, cos, acos, etc., are screwed up.  They are fine as long as
  7.  *    they are used as function calls, but if the function pointers
  8.  *    are passed around and used, they will crash hard on the 68K.
  9.  *
  10.  * Copyright (c) 1997 Sun Microsystems, Inc.
  11.  *
  12.  * See the file "license.terms" for information on usage and redistribution
  13.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  14.  *
  15.  * SCCS: @(#) tclMath.h 1.2 97/07/23 17:39:14
  16.  */
  17.  
  18. #ifndef _TCLMATH
  19. #define _TCLMATH
  20.  
  21. #if defined(MAC_TCL)
  22. #   include "tclMacMath.h"
  23. #else
  24. #   include <math.h>
  25. #endif
  26.  
  27. #endif /* _TCLMATH */
  28.